import type { FormInstance } from 'ant-design-vue'
import type { MessageInstance } from 'ant-design-vue/lib/message/index'
import type { ModalFunc } from 'ant-design-vue/lib/modal/Modal'

/**
 * @type form类型
 * @description const formRef = ref<antFormType>()
 * @description formRef.value?.validate()
 */
export type antFormType = FormInstance
/**
 * @type message类型
 * @description message.success('这是一条成功的提示')
 */
export type antMessageType = MessageInstance

/**
 * @type confirm类型
 * @description $confirm({ title: '' })
 */
export type antConfirmType = ModalFunc
